#ifndef OBCASTLE_H
#define OBCASTLE_H

#include "d3dx9.h"
#include "ObObject.h"

class ObCastle : public ObObject{
public:
	enum CASTLE {Big =25, Small};

	ObCastle();
	ObCastle(CASTLE nid);
	~ObCastle();

	bool setId(int nid);
	static bool checkType(int obID);

	void update(float dt);
	void render(ID3DXSprite* mSprite);

	static bool loadTexture();
	static bool releaseTexture();
private:
	static IDirect3DTexture9* mTex;
	static IDirect3DTexture9* mTexSM;
	IDirect3DTexture9* mTexCR;
};
#endif